.container {
  padding: 24px;
  background: #f5f5f5;
  min-height: 100vh;
}

.card {
  margin-bottom: 16px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  
  .ant-card-head {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 8px 8px 0 0;
    
    .ant-card-head-title {
      color: white;
      font-weight: 600;
    }
  }
}

.buttonGroup {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.resultItem {
  margin-bottom: 16px;
  
  &:last-child {
    margin-bottom: 0;
  }
}

.resultBox {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 6px;
  word-break: break-all;
  
  .ant-typography {
    flex: 1;
    margin: 0;
  }
}

.longText {
  font-size: 12px;
  line-height: 1.4;
  max-height: 100px;
  overflow-y: auto;
  background: white;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #d9d9d9;
}

.ant-input {
  border-radius: 6px;
}

.ant-btn {
  border-radius: 6px;
  font-weight: 500;
  
  &.ant-btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    
    &:hover {
      background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    }
  }
}

.ant-card {
  transition: all 0.3s ease;
  
  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }
}

// 响应式设计
@media (max-width: 768px) {
  .container {
    padding: 16px;
  }
  
  .buttonGroup {
    flex-direction: column;
    
    .ant-btn {
      width: 100%;
    }
  }
  
  .resultBox {
    flex-direction: column;
    align-items: flex-start;
    
    .ant-btn {
      align-self: flex-end;
    }
  }
}

// 深色主题支持
@media (prefers-color-scheme: dark) {
  .container {
    background: #1f1f1f;
  }
  
  .card {
    background: #2d2d2d;
    border-color: #404040;
  }
  
  .resultBox {
    background: #3a3a3a;
    border-color: #555;
    color: #fff;
  }
  
  .longText {
    background: #2d2d2d;
    border-color: #555;
    color: #fff;
  }
}
